/**
 * @Author: zhoujie
 * @Date: 2019/08/24
 * @Last Modified by: 焦质晔
 * @Last Modified time: 2019-12-16 10:55:40
 */

const RouteView = () => import('@/layout/RouteView');
// 异步路由组件加载
const AsyncComponent = __name__ => () => import(`@/pages/${__name__}`);

/** 配件管理 菜单路由 */
const menuRoutes = [
  /** 配件管理 S */
  {
    path: '/part',
    meta: {
      title: '配件管理',
      icon: 'el-icon-box'
    },
    redirect: '/part/partInfoManage',
    component: RouteView,
    children: [
      {
        path: '/part/partInfoManage',
        meta: {
          title: '业务定义'
        },
        redirect: '/part/partInfoManage/unitDefined',
        component: RouteView,
        children: [
          // {
          //   path: '/part/partInfoManage/unitDefined',
          //   meta: {
          //     title: '计量单位定义',
          //     keepAlive: true,
          //     trainModuleId: '701510'
          //   },
          //   component: AsyncComponent('part/partInfoManage/unitDefined')
          // },
          // {
          //   path: '/part/partInfoManage/warehouseDefinition',
          //   meta: {
          //     title: '仓库定义',
          //     keepAlive: true,
          //     trainModuleId: '701513'
          //   },
          //   component: AsyncComponent('part/partInfoManage/warehouseDefinition')
          // },
          // {
          //   path: '/part/partInfoManage/libraryDefinition',
          //   meta: {
          //     title: '库位定义',
          //     keepAlive: true,
          //     trainModuleId: '701512'
          //   },
          //   component: AsyncComponent('part/partInfoManage/libraryDefinition')
          // },
          {
            path: '/part/partInfoManage/partInfo',
            meta: {
              title: '配件主文件',
              keepAlive: true,
              trainModuleId: '701515'
            },
            component: AsyncComponent('part/partInfoManage/partInfo')
          },

          // {
          //   path: '/part/partInfoManage/unitType',
          //   meta: {
          //     title: '供应商类型',
          //     keepAlive: true,
          //     trainModuleId: '701511'
          //   },
          //   component: AsyncComponent('part/partInfoManage/unitType')
          // },
          {
            path: '/part/partInfoManage/contactsCustomer',
            meta: {
              title: '维护供应商',
              keepAlive: true,
              trainModuleId: '701514'
            },
            component: AsyncComponent('part/partInfoManage/contactsCustomer')
          }
          // {
          //   path: '/part/partInfoManage/partParames',
          //   meta: { title: '配件参数设置', keepAlive: true },
          //   component: AsyncComponent('part/partInfoManage/partParames')
          // },
          // {
          //   path: '/part/partInfoManage/partParamesView',
          //   meta: { title: '配件参数查询', keepAlive: true },
          //   component: AsyncComponent('part/partInfoManage/partParamesView')
          // },
          // {
          //   path: '/part/partInfoManage/stockLevelMaintain',
          //   meta: {
          //     title: '库存级别标准维护',
          //     keepAlive: true
          //   },
          //   component: AsyncComponent('part/partInfoManage/stockLevelMaintain')
          // },
          // {
          //   path: '/part/partInfoManage/orderParameterMaintain',
          //   meta: {
          //     title: '订货参数维护',
          //     keepAlive: true
          //   },
          //   component: AsyncComponent('part/partInfoManage/orderParameterMaintain')
          // }
          // {
          //   path: '/part/partInfoManage/partParames',
          //   meta: { title: '库存深度维护', keepAlive: true },
          //   component: AsyncComponent('part/partInfoManage/stockDepthMaintain')
          // }
        ]
      },
      // {
      //   path: '/part/partParam',
      //   meta: {
      //     title: '配件参数'
      //   },
      //   redirect: '/part/partInfoManage/partParamesView',
      //   component: RouteView,
      //   children: [
      // {
      //   path: '/part/partInfoManage/partParames',
      //   meta: {
      //     title: '配件参数设置',
      //     keepAlive: true,
      //     trainModuleId: '701010'
      //   },
      //   component: AsyncComponent('part/partInfoManage/partParames')
      // },
      // {
      //   path: '/part/partInfoManage/partParamesView',
      //   meta: {
      //     title: '配件参数查询',
      //     keepAlive: true,
      //     trainModuleId: '701011'
      //   },
      //   component: AsyncComponent('part/partInfoManage/partParamesView')
      // }
      // ]
      // },
      {
        path: '/part/inventoryManager',
        meta: {
          title: '库存管理'
        },
        redirect: '/part/inventoryManager/inventoryManager',
        component: RouteView,
        children: [
          {
            path: '/part/partInfoManage/warehouseDefinition',
            meta: {
              title: '仓库定义',
              keepAlive: true,
              trainModuleId: '704020'
            },
            component: AsyncComponent('part/partInfoManage/warehouseDefinition')
          },
          {
            path: '/part/partInfoManage/libraryDefinition',
            meta: {
              title: '库位定义',
              keepAlive: true,
              trainModuleId: '704018'
            },
            component: AsyncComponent('part/partInfoManage/libraryDefinition')
          },
          {
            path: '/part/partInfoManage/partStroage',
            meta: {
              title: '配件库存',
              keepAlive: true,
              trainModuleId: '704013'
            },
            component: AsyncComponent('part/partInfoManage/partStroage')
          },
          {
            path: '/part/inventoryManager/inventoryManager',
            meta: {
              title: '配件库存管理',
              keepAlive: true,
              trainModuleId: '704019'
            },
            component: AsyncComponent('part/inventoryManager/inventoryManager')
          },
          // {
          //   path: '/part/inventoryManager/patrPriceAdjust',
          //   meta: {
          //     title: '配件销售价调整',
          //     keepAlive: true,
          //     trainModuleId: '704013'
          //   },
          //   component: AsyncComponent('part/inventoryManager/patrPriceAdjust')
          // },
          {
            path: '/part/inventoryManager/partCostAdjust',
            meta: {
              title: '配件成本价调整',
              keepAlive: true,
              trainModuleId: '704017'
            },
            component: AsyncComponent('part/inventoryManager/partCostAdjust')
          },
          // {
          //   path: '/part/inventoryManager/partPlanAdjust',
          //   meta: {
          //     title: '采购成本价调整',
          //     keepAlive: true,
          //     trainModuleId: '704020'
          //   },
          //   component: AsyncComponent('part/inventoryManager/partPlanAdjust')
          // },

          {
            path: '/part/inventoryManager/patrItemAdjust',
            meta: {
              title: '发料价格调整',
              keepAlive: true,
              trainModuleId: '704010'
            },
            component: AsyncComponent('part/inventoryManager/patrItemAdjust')
          }
          // {
          //   path: '/part/inventoryManager/partInformation',
          //   meta: {
          //     title: '保养配件管理',
          //     keepAlive: true
          //   },
          //   component: AsyncComponent('part/inventoryManager/partInformation')
          // },
          // {
          //   path: '/part/inventoryManager/attachment_list',
          //   meta: {
          //     title: '配件清单列表',
          //     keepAlive: true,
          //     trainModuleId: '704011'
          //   },
          //   component: AsyncComponent('part/inventoryManager/attachmentList/index')
          // },
          // {
          //   path: '/part/inventoryManager/attach_update',
          //   meta: {
          //     title: '查询R3配件清单更新',
          //     keepAlive: true,
          //     trainModuleId: '704015'
          //   },
          //   component: AsyncComponent('part/inventoryManager/attachUpdate/index')
          // },
          // {
          //   path: '/part/inventoryManager/partUpdateSPP',
          //   meta: {
          //     title: '有效库存上传SPP',
          //     keepAlive: true,
          //     trainModuleId: '704012'
          //   },
          //   component: AsyncComponent('part/inventoryManager/partUpdateSPP')
          // },
          // {
          //   path: '/part/inventoryManager/partOpeningInventoryMaintenance',
          //   meta: {
          //     title: '维护期初库存',
          //     keepAlive: true,
          //     trainModuleId: '704016'
          //   },
          //   component: AsyncComponent('part/inventoryManager/partOpeningInventoryMaintenance')
          // },
          // {
          //   path: '/part/qualityManagement/decorativePartsExit',
          //   meta: {
          //     title: '装饰件出退库',
          //     keepAlive: true
          //   },
          //   component: AsyncComponent('part/qualityManagement/decorativePartsExit')
          // }
        ]
      },
      {
        path: '/part/partInventory',
        meta: {
          title: '配件入库'
        },
        redirect: '/part/partInventory/partSign',
        component: RouteView,
        children: [
          // {
          //   path: '/part/partInventory/partSign',
          //   meta: {
          //     title: '配件签收',
          //     keepAlive: true,
          //     trainModuleId: '702514'
          //   },
          //   component: AsyncComponent('part/partInventory/partSign')
          // },
          {
            path: '/part/partInventory/partInventoryCheck',
            meta: {
              title: '采购审核',
              keepAlive: true,
              trainModuleId: '702520'
            },
            component: AsyncComponent('part/partInventory/partInventoryCheck')
          },
          {
            path: '/part/partInventory/partInventory',
            meta: {
              title: '采购入库',
              keepAlive: true,
              trainModuleId: '702516'
            },
            component: AsyncComponent('part/partInventory/partInventory')
          },
          {
            path: '/part/partInventory/partInventoryInfo',
            meta: {
              title: '采购查询',
              keepAlive: true,
              trainModuleId: '702514'
            },
            component: AsyncComponent('part/partInventory/partInventoryInfo')
          },
          {
            path: '/part/partInventory/adjustInventory',
            meta: {
              title: '借进入库',
              keepAlive: true,
              trainModuleId: '702513'
            },
            component: AsyncComponent('part/partInventory/adjustInventory')
          }
        ]
      },
      {
        path: '/part/partOutbound',
        meta: {
          title: '配件出库管理'
        },
        redirect: '/part/partOutbound/repairMaterials',
        component: RouteView,
        children: [
          {
            path: '/part/partOutbound/repairMaterials',
            meta: {
              title: '维修领料',
              keepAlive: true,
              trainModuleId: '703017'
            },
            component: AsyncComponent('part/partOutbound/repairMaterials')
          },
          {
            path: '/part/partOutbound/partSales',
            meta: {
              title: '配件销售',
              keepAlive: true,
              trainModuleId: '703012'
            },
            component: AsyncComponent('part/partOutbound/partSales')
          },
          {
            path: '/part/partOutbound/internalReceive',
            meta: {
              title: '内部领用',
              keepAlive: true,
              trainModuleId: '703014'
            },
            component: AsyncComponent('part/partOutbound/internalReceive')
          },
          {
            path: '/part/partOutbound/adjustOutbound',
            meta: {
              title: '借出出库',
              keepAlive: true,
              trainModuleId: '703010'
            },
            component: AsyncComponent('part/partOutbound/adjustOutbound')
          },
          {
            path: '/part/partOutbound/stockremoval',
            meta: {
              title: '配件移库',
              keepAlive: true,
              trainModuleId: '703011'
            },
            component: AsyncComponent('part/partOutbound/stockremoval')
          }
          // {
          //   path: '/part/partOutbound/partSalesQuote',
          //   meta: {
          //     title: '配件销售报价',
          //     keepAlive: true,
          //     trainModuleId: '703015'
          //   },
          //   component: AsyncComponent('part/partOutbound/partSalesQuote')
          // },
          // {
          //   path: '/part/partOutbound/partSalesOutbound',
          //   meta: {
          //     title: '配件销售出库列表',
          //     keepAlive: true,
          //     trainModuleId: '703018'
          //   },
          //   component: AsyncComponent('part/partOutbound/partSalesOutbound')
          // }
        ]
      },
      {
        path: '/part/access',
        meta: {
          title: '配件盘点'
        },
        redirect: '/part/access/accessInventory',
        component: RouteView,
        children: [
          {
            path: '/part/access/accessInventory',
            meta: {
              title: '配件盘点',
              keepAlive: true,
              trainModuleId: '703510'
            },
            component: AsyncComponent('part/access/accessInventory')
          },
          {
            path: '/part/partInventory/partOverflow',
            meta: {
              title: '配件盘盈',
              keepAlive: true,
              trainModuleId: '702515'
            },
            component: AsyncComponent('part/partInventory/partOverflow')
          },
          {
            path: '/part/partOutbound/partBreak',
            meta: {
              title: '配件盘亏',
              keepAlive: true,
              trainModuleId: '703013'
            },
            component: AsyncComponent('part/partOutbound/partBreak')
          }
        ]
      },
      {
        path: '/part/allocation',
        meta: {
          title: '配件调拨管理'
        },
        redirect: '/part/allocation/allocationApply',
        component: RouteView,
        children: [
          {
            path: '/part/allocation/allocationApply',
            meta: {
              title: '调拨申请',
              keepAlive: true,
              trainModuleId: '705011'
            },
            component: AsyncComponent('part/allocation/allocationApply')
          },
          {
            path: '/part/allocation/allocationOut',
            meta: {
              title: '调拨出库',
              keepAlive: true,
              trainModuleId: '705012'
            },
            component: AsyncComponent('part/allocation/allocationOut')
          },
          {
            path: '/part/allocation/allocationIn',
            meta: {
              title: '调拨入库',
              keepAlive: true,
              trainModuleId: '705013'
            },
            component: AsyncComponent('part/allocation/allocationIn')
          },
          {
            path: '/part/allocation/allocationInfo',
            meta: {
              title: '调拨入/出库单查询',
              keepAlive: true,
              trainModuleId: '705013'
            },
            component: AsyncComponent('part/allocation/allocationInfo')
          }
        ]
      },
      {
        path: '/part/partOther/',
        meta: {
          title: '配件其他功能'
        },
        redirect: '/part/partOther/partWaterBook',
        component: RouteView,
        children: [
          {
            path: '/part/partOther/partWaterBook',
            meta: {
              title: '配件流水账',
              keepAlive: true,
              trainModuleId: '704511'
            },
            component: AsyncComponent('part/partOther/partWaterBook')
          },
          // {
          //   path: '/part/partOther/partCirculateHandle',
          //   meta: {
          //     title: '配件借还处理',
          //     keepAlive: true
          //   },
          //   component: AsyncComponent('part/partOther/partCirculateHandle')
          // },
          {
            path: '/part/partOther/lackDetail',
            meta: {
              title: '配件缺料明细',
              keepAlive: true,
              trainModuleId: '704510'
            },
            component: AsyncComponent('part/partOther/lackDetail')
          },
          {
            path: '/part/partOther/partObli',
            meta: {
              title: '配件预留',
              keepAlive: true,
              trainModuleId: '704513'
            },
            component: AsyncComponent('part/partOther/partObli')
          },
          {
            path: '/part/partOther/partObliQuery',
            meta: {
              title: '配件解预留',
              keepAlive: true,
              trainModuleId: '704517'
            },
            component: AsyncComponent('part/partOther/partObliQuery')
          },
          {
            path: '/part/partOther/partAllWater',
            meta: {
              title: '出入库流水账',
              keepAlive: true,
              trainModuleId: '704515'
            },
            component: AsyncComponent('part/partOther/partAllWater')
          },
          {
            path: '/part/report/billSearchOfPartStorage',
            meta: {
              title: '配件综合情况查询',
              keepAlive: true,
              trainModuleId: '704516'
            },
            component: AsyncComponent('part/report/billSearchOfPartStorage')
          },
          {
            path: '/part/partOther/partInOutMax',
            meta: {
              title: '配件出入库排名',
              keepAlive: true,
              trainModuleId: '704514'
            },
            component: AsyncComponent('part/partOther/partInOutMax')
          }
          // {
          //   path: '/part/partOther/repairPartBuyInvoic',
          //   meta: {
          //     title: '维护配件采购发票认证',
          //     keepAlive: true,
          //     trainModuleId: '704515'
          //   },
          //   component: AsyncComponent('part/partOther/repairPartBuyInvoic')
          // },
          // {
          //   path: '/part/partOther/qrCodeActivation',
          //   meta: {
          //     title: '配件二维码激活',
          //     keepAlive: true,
          //     trainModuleId: '704512'
          //   },
          //   component: AsyncComponent('part/partOther/qrCodeActivation')
          // },
          // {
          //   path: '/part/partOther/prizeOutbound',
          //   meta: {
          //     title: '奖品执行出库',
          //     keepAlive: true,
          //     trainModuleId: '704514'
          //   },
          //   component: AsyncComponent('part/partOther/prizeOutbound')
          // },
          // {
          //   path: '/part/partOther/partFinancialStatement',
          //   meta: {
          //     title: '配件财务对账单',
          //     keepAlive: true,
          //     trainModuleId: '704516'
          //   },
          //   component: AsyncComponent('part/partOther/partFinancialStatement')
          // }
        ]
      },
      {
        path: '/part/tools/',
        meta: {
          title: '工具管理'
        },
        redirect: '/part/tools',
        component: RouteView,
        children: [
          {
            path: '/part/tools/borrowAndReturn',
            meta: {
              title: '工具借还',
              keepAlive: true
            },
            component: AsyncComponent('part/tools/borrowAndReturn')
          },
          {
            path: '/part/tools/toolsBreakdown',
            meta: {
              title: '工具报损',
              keepAlive: true
            },
            component: AsyncComponent('part/tools/toolsBreakdown')
          }
        ]
      },
      // {
      //   path: '/part/partPurchase/',
      //   meta: {
      //     title: '配件采购'
      //   },
      //   redirect: '/part/partPurchase/purchasePlane',
      //   component: RouteView,
      //   children: [
      //     {
      //       path: '/part/partPurchase/purchasePlane',
      //       meta: {
      //         title: '维护配件采购计划',
      //         keepAlive: true,
      //         trainModuleId: '702012'
      //       },
      //       component: AsyncComponent('part/partPurchase/purchasePlane')
      //     },
      //     {
      //       path: '/part/partPurchase/purchaseOrder',
      //       meta: {
      //         title: '配件采购订单',
      //         keepAlive: true,
      //         trainModuleId: '702011'
      //       },
      //       component: AsyncComponent('part/partPurchase/purchaseOrder')
      //     },
      //     {
      //       path: '/part/partPurchase/purchaseOrderHQ',
      //       meta: {
      //         title: '配件采购订单(红旗)',
      //         keepAlive: true
      //       },
      //       component: AsyncComponent('part/partPurchase/purchaseOrderHQ')
      //     },
      //     {
      //       path: '/part/partPurchase/purchaseOrderCheck',
      //       meta: {
      //         title: '采购订单查询',
      //         keepAlive: true
      //       },
      //       component: AsyncComponent('part/partPurchase/purchaseOrderCheck')
      //     },
      //     {
      //       path: '/part/partPurchase/undeliveredBatchCancel',
      //       meta: {
      //         title: '配件已确认但未发货清单批量取消',
      //         keepAlive: true
      //       },
      //       component: AsyncComponent('part/partPurchase/undeliveredBatchCancel')
      //     },
      //     {
      //       path: '/part/partPurchase/purchaseTypeList',
      //       meta: {
      //         title: '采购订单类型',
      //         keepAlive: true,
      //         trainModuleId: '702010'
      //       },
      //       component: AsyncComponent('part/partPurchase/purchaseTypeList')
      //     }
      //   ]
      // },
      // {
      //   path: '/part/qualityManagement/',
      //   meta: {
      //     title: '精品管理'
      //   },
      //   redirect: '/part/qualityManagement/maintenanceBoutique',
      //   component: RouteView,
      //   children: [
      //     {
      //       path: '/part/qualityManagement/maintenanceBoutique',
      //       meta: {
      //         title: '维护精品项目',
      //         keepAlive: true
      //       },
      //       component: AsyncComponent('part/qualityManagement/maintenanceBoutique')
      //     },
      //     {
      //       path: '/part/qualityManagement/decorationDispatchOrder',
      //       meta: {
      //         title: '维护装饰派工单',
      //         keepAlive: true
      //       },
      //       component: AsyncComponent('part/qualityManagement/decorationDispatchOrder')
      //     },
      //     {
      //       path: '/part/qualityManagement/decorativePartsExit',
      //       meta: {
      //         title: '装饰件出退库',
      //         keepAlive: true
      //       },
      //       component: AsyncComponent('part/qualityManagement/decorativePartsExit')
      //     }
      //   ]
      // },
      // {
      //   path: '/part/accountQuery/',
      //   meta: {
      //     title: '账户查询'
      //   },
      //   redirect: '/part/accountQuery/accountCheck',
      //   component: RouteView,
      //   children: [
      //     {
      //       path: '/part/accountQuery/accountCheck',
      //       meta: {
      //         title: '资金账户查询',
      //         keepAlive: true
      //       },
      //       component: AsyncComponent('part/accountQuery/accountCheck')
      //     },
      //     {
      //       path: '/part/accountQuery/capitalTransactionCheck',
      //       meta: {
      //         title: '资金异动明细查询',
      //         keepAlive: true
      //       },
      //       component: AsyncComponent('part/accountQuery/capitalTransactionCheck')
      //     }
      //   ]
      // },
      {
        path: '/part/report/',
        meta: {
          title: '业务报表管理'
        },
        redirect: '/part/report/partPrice',
        component: RouteView,
        children: [
          {
            path: '/part/report/partDayReport',
            meta: {
              title: '配件库存日报',
              keepAlive: true,
              trainModuleId: '705111'
            },
            component: AsyncComponent('part/report/partDayReport')
          },
          {
            path: '/part/report/partMonthReport',
            meta: {
              title: '配件库存月报',
              keepAlive: true,
              trainModuleId: '705112'
            },
            component: AsyncComponent('part/report/partMonthReport')
          },
          {
            path: '/part/report/partMonthReportBJ',
            meta: {
              title: '配件库存月报',
              keepAlive: true,
              trainModuleId: '705117'
            },
            component: AsyncComponent('part/report/partMonthReportBJ')
          },
          {
            path: '/part/report/partMonthReportBJOEM',
            meta: {
              title: '配件库存月报',
              keepAlive: true,
              trainModuleId: '705118'
            },
            component: AsyncComponent('part/report/partMonthReportBJOEM')
          },
          {
            path: '/part/report/partMonthReportBJDealer',
            meta: {
              title: '配件库存月报查询',
              keepAlive: true,
              trainModuleId: '705119'
            },
            component: AsyncComponent('part/report/partMonthReportBJDealer')
          },
          {
            path: '/part/report/partYearReport',
            meta: {
              title: '配件库存年报',
              keepAlive: true,
              trainModuleId: '705113'
            },
            component: AsyncComponent('part/report/partYearReport')
          },
          {
            path: '/part/report/partStockReport',
            meta: {
              title: '配件即时库存报表',
              keepAlive: true,
              trainModuleId: '705114'
            },
            component: AsyncComponent('part/report/partStockReport')
          },
          {
            path: '/part/report/partOutReport',
            meta: {
              title: '配件出库报表',
              keepAlive: true,
              trainModuleId: '705115'
            },
            component: AsyncComponent('part/report/partOutReport')
          },
          {
            path: '/part/report/partInReport',
            meta: {
              title: '配件入库报表',
              keepAlive: true,
              trainModuleId: '705116'
            },
            component: AsyncComponent('part/report/partInReport')
          }
          // {
          //   path: '/part/report/partEntersSellsSave',
          //   meta: {
          //     title: '配件进销存汇总',
          //     keepAlive: true
          //   },
          //   component: AsyncComponent('part/report/partEntersSellsSave')
          // },

          // {
          //   path: '/part/report/partEntersSellsSaveInfo',
          //   meta: {
          //     title: '配件进销存明细',
          //     keepAlive: true
          //   },
          //   component: AsyncComponent('part/report/partEntersSellsSaveInfo')
          // },
          // {
          //   path: '/part/report/fibPartInformation',
          //   meta: {
          //     title: 'FIB配件信息',
          //     keepAlive: true,
          //     trainModuleId: '705027'
          //   },
          //   component: AsyncComponent('part/report/fibPartInformation')
          // },
          // {
          //   path: '/part/report/partPrice',
          //   meta: {
          //     title: '配件价格显示',
          //     keepAlive: true,
          //     trainModuleId: '705033'
          //   },
          //   component: AsyncComponent('part/report/partPrice')
          // },
          // {
          //   path: '/part/report/uploadClaim',
          //   meta: {
          //     title: '上传配件索赔申请',
          //     keepAlive: true,
          //     trainModuleId: '705019'
          //   },
          //   component: AsyncComponent('part/report/uploadClaim')
          // },
          // {
          //   path: '/part/report/financialQuery',
          //   meta: {
          //     title: '服务站财务数据查询',
          //     keepAlive: true,
          //     trainModuleId: '705020'
          //   },
          //   component: AsyncComponent('part/report/financialQuery')
          // },
          // {
          //   path: '/part/report/reconciliationQuery',
          //   meta: {
          //     title: '经销商对账查询',
          //     keepAlive: true,
          //     trainModuleId: '705021'
          //   },
          //   component: AsyncComponent('part/report/reconciliationQuery')
          // },
          // {
          //   path: '/part/report/attachmentQuery',
          //   meta: {
          //     title: '附件采购额及返利查询',
          //     keepAlive: true,
          //     trainModuleId: '705022'
          //   },
          //   component: AsyncComponent('part/report/attachmentQuery')
          // },
          // {
          //   path: '/part/report/replaceAndInventory',
          //   meta: {
          //     title: ' 配件替换件及库存信息',
          //     keepAlive: true,
          //     trainModuleId: '705023'
          //   },
          //   component: AsyncComponent('part/report/replaceAndInventory')
          // },
          // {
          //   path: '/part/report/replacementQuery',
          //   meta: {
          //     title: '替换件查询',
          //     keepAlive: true,
          //     trainModuleId: '705024'
          //   },
          //   component: AsyncComponent('part/report/replacementQuery')
          // }
          // {
          //   path: '/part/report/tslServiceLevel',
          //   meta: {
          //     title: 'TSL目标服务水平',
          //     keepAlive: true,
          //     trainModuleId: '705025'
          //   },
          //   component: AsyncComponent('part/report/tslServiceLevel')
          // },
          // {
          //   path: '/part/report/queryFinancingTeam',
          //   meta: {
          //     title: '查询筹措组',
          //     keepAlive: true,
          //     trainModuleId: '705026'
          //   },
          //   component: AsyncComponent('part/report/queryFinancingTeam')
          // },
          // {
          //   path: '/part/report/dealerRelatedInquiry',
          //   meta: {
          //     title: '经销商采购额及返利查询',
          //     keepAlive: true,
          //     trainModuleId: '705028'
          //   },
          //   component: AsyncComponent('part/report/dealerRelatedInquiry')
          // },
          // {
          //   path: '/part/report/fibOrderExecution',
          //   meta: {
          //     title: '查询FIB订单执行情况',
          //     keepAlive: true,
          //     trainModuleId: '705029'
          //   },
          //   component: AsyncComponent('part/report/fibOrderExecution')
          // },
          // {
          //   path: '/part/report/queryVehicleRelated',
          //   meta: {
          //     title: '根据底盘号查询车辆相关信息',
          //     keepAlive: true,
          //     trainModuleId: '705030'
          //   },
          //   component: AsyncComponent('part/report/queryVehicleRelated')
          // },
          // {
          //   path: '/part/report/replaceChainDisplay',
          //   meta: {
          //     title: '树形替换链展示',
          //     keepAlive: true,
          //     trainModuleId: '705031'
          //   },
          //   component: AsyncComponent('part/report/replaceChainDisplay')
          // },
          // {
          //   path: '/part/report/partsAndServiceSupport',
          //   meta: {
          //     title: '配件及服务支持价格折让查询',
          //     keepAlive: true,
          //     trainModuleId: '705032'
          //   },
          //   component: AsyncComponent('part/report/partsAndServiceSupport')
          // },
          // {
          //   path: '/part/report/printPartInvoice',
          //   meta: {
          //     title: '打印配件销售发票',
          //     keepAlive: true,
          //     trainModuleId: '705034'
          //   },
          //   component: AsyncComponent('part/report/printPartInvoice')
          // },
          // {
          //   path: '/part/report/lowStorageAlarm',
          //   meta: {
          //     title: '超低储呆滞报警',
          //     keepAlive: true,
          //     trainModuleId: '705039'
          //   },
          //   component: AsyncComponent('part/report/lowStorageAlarm')
          // },
          // {
          //   path: '/part/report/arrivalConfirmation',
          //   meta: {
          //     title: '配件到货确认查询',
          //     keepAlive: true,
          //     trainModuleId: '705043'
          //   },
          //   component: AsyncComponent('part/report/arrivalConfirmation')
          // },
          // {
          //   path: '/part/report/orderExecution',
          //   meta: {
          //     title: '查询订单执行情况',
          //     keepAlive: true,
          //     trainModuleId: '705013'
          //   },
          //   component: AsyncComponent('part/report/orderExecution')
          // },
          // {
          //   path: '/part/report/threeOrderExecution',
          //   meta: {
          //     title: '三方订单执行情况',
          //     keepAlive: true,
          //     trainModuleId: '705014'
          //   },
          //   component: AsyncComponent('part/report/threeOrderExecution')
          // },
          // {
          //   path: '/part/report/partPurchaseOrder',
          //   meta: {
          //     title: '显示/下载配件采购订单',
          //     keepAlive: true,
          //     trainModuleId: '705015'
          //   },
          //   component: AsyncComponent('part/report/partPurchaseOrder')
          // },
          // {
          //   path: '/part/report/logisticsInquiry',
          //   meta: {
          //     title: '配件物流查询',
          //     keepAlive: true,
          //     trainModuleId: '705016'
          //   },
          //   component: AsyncComponent('part/report/logisticsInquiry')
          // },
          // {
          //   path: '/part/report/harnessInquiry',
          //   meta: {
          //     title: '全车线束查询',
          //     keepAlive: true,
          //     trainModuleId: '705017'
          //   },
          //   component: AsyncComponent('part/report/harnessInquiry')
          // },
          // {
          //   path: '/part/report/claimInquiry',
          //   meta: {
          //     title: '配件索赔查询',
          //     keepAlive: true,
          //     trainModuleId: '705018'
          //   },
          //   component: AsyncComponent('part/report/claimInquiry')
          // },
          // {
          //   path: '/part/report/priceOfPartsInspection',
          //   meta: {
          //     title: '配件价格检查',
          //     keepAlive: true,
          //     trainModuleId: '705011'
          //   },
          //   component: AsyncComponent('part/report/priceOfPartsInspection')
          // },
          // {
          //   path: '/part/report/frontPartsInquiry',
          //   meta: {
          //     title: '前台配件查询',
          //     keepAlive: true,
          //     trainModuleId: '705044'
          //   },
          //   component: AsyncComponent('part/report/frontPartsInquiry')
          // }
        ]
      },
      {
        path: '/part/reportData/',
        meta: {
          title: '数据报表管理'
        },
        redirect: '/part/report/billSearchOfPartStorage',
        component: RouteView,
        children: [
          // {
          //   path: '/part/report/billSearchOfPartStorage',
          //   meta: {
          //     title: '配件综合情况查询',
          //     keepAlive: true,
          //     trainModuleId: '705035'
          //   },
          //   component: AsyncComponent('part/report/billSearchOfPartStorage')
          // },
          // {
          //   path: '/part/report/partInventoryInfo',
          //   meta: {
          //     title: '配件库存动态查询',
          //     keepAlive: true,
          //     trainModuleId: '705036'
          //   },
          //   component: AsyncComponent('part/report/partInventoryInfo')
          // }
          // {
          //   path: '/part/report/statisticalCost',
          //   meta: {
          //     title: '配件统计成本',
          //     keepAlive: true,
          //     trainModuleId: '705037'
          //   },
          //   component: AsyncComponent('part/report/statisticalCost')
          // },
          // {
          //   path: '/part/report/consumptionRanking',
          //   meta: {
          //     title: '配件消耗量排名',
          //     keepAlive: true,
          //     trainModuleId: '705038'
          //   },
          //   component: AsyncComponent('part/report/consumptionRanking')
          // },
          // {
          //   path: '/part/report/salessettlement',
          //   meta: {
          //     title: '配件销售结算情况',
          //     keepAlive: true,
          //     trainModuleId: '705040'
          //   },
          //   component: AsyncComponent('part/report/salessettlement')
          // },
          // {
          //   path: '/part/report/partMonthly',
          //   meta: {
          //     title: '配件入出存月报',
          //     keepAlive: true,
          //     trainModuleId: '705041'
          //   },
          //   component: AsyncComponent('part/report/partMonthly')
          // },
          // {
          //   path: '/part/report/revenueAndExpenditure',
          //   meta: {
          //     title: '材料收支汇总',
          //     keepAlive: true,
          //     trainModuleId: '705042'
          //   },
          //   component: AsyncComponent('part/report/revenueAndExpenditure')
          // },
          // {
          //   path: '/part/report/receiveStuff',
          //   meta: {
          //     title: '配件前台领料查询',
          //     keepAlive: true,
          //     trainModuleId: '705045'
          //   },
          //   component: AsyncComponent('part/report/receiveStuff')
          // }
        ]
      }
      // {
      //   path: '/part/plat',
      //   meta: {
      //     title: '配件呆滞件交易平台'
      //   },
      //   redirect: 'part/exchange/platform',
      //   component: RouteView,
      //   children: [
      //     {
      //       path: '/part/exchange/platform',
      //       meta: {
      //         title: '呆滞件交易平台',
      //         keepAlive: true,
      //         trainModuleId: '706011'
      //       },
      //       component: AsyncComponent('part/exchange/platform/index')
      //     },
      //     {
      //       path: '/part/exchange/query',
      //       meta: {
      //         title: '呆滞件交易查询',
      //         keepAlive: true,
      //         trainModuleId: '706012'
      //       },
      //       component: AsyncComponent('part/exchange/query/index')
      //     }
      //   ]
      // }
    ]
  }
  /** 配件管理 E */
];

export default menuRoutes;
